-- GENERATED SPELL FOR [Arakkoa Egg] --


function spell0_20214(pUnit, Event) --@Arakkoa Egg Debuff,n/a--
pUnit:FullCastSpellOnTarget(35788,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_20214', 20000, 1)
end

function Sorts_20214(pUnit, Event)
local choix_sorts_20214 = math.random(0, 0)
if choix_sorts_20214 == 0 then
pUnit:RegisterEvent('spell0_20214', 1, 1)
end
end

function mob20214_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_20214', math.random(1500, 3000), 1)
end

function mob20214_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20214_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20214_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(20214, 1, 'mob20214_Action')
RegisterUnitEvent(20214, 2, 'mob20214_Leave')
RegisterUnitEvent(20214, 3, 'mob20214_Kill')
RegisterUnitEvent(20214, 4, 'mob20214_Die')
